package com.example.job.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.job.po.SysJob;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysJobMapper extends BaseMapper<SysJob> {

    @Select("select * from sys_job where class_name =#{className} ")
    public SysJob getJobByBeanClassName(@Param("className") String className) throws Exception;
}
